package com.hpsk.shopservice.job;

import com.xxl.job.core.handler.annotation.XxlJob;
import org.springframework.stereotype.Component;

import java.util.Date;

@Component
public class TestJob {

    @XxlJob("jobTestHandler")
    public void test(){
        System.out.println("hello World!" + "- " + "定时任务执行时间：" +new Date());
    }
}
